home *** CD-ROM | disk | FTP | other *** search
/ Champak 143 / (Vol 143) Nov 15 2011.iso / Games / xeno_tactic.swf / scripts / DefineButton2_389 / BUTTONCONDACTION on(press).as next >
Text File  |  2011-11-15  |  3KB  |  98 lines

  1. on(press){
  2.    var ┬º\x01┬º = 657;
  3.    while(true)
  4.    {
  5.       if(eval("\x01") == 657)
  6.       {
  7.          set("\x01",eval("\x01") - 600);
  8.          ┬º┬ºpush(true);
  9.       }
  10.       else if(eval("\x01") == 550)
  11.       {
  12.          set("\x01",eval("\x01") - 249);
  13.          if(┬º┬ºpop())
  14.          {
  15.             set("\x01",eval("\x01") + 209);
  16.          }
  17.       }
  18.       else if(eval("\x01") == 545)
  19.       {
  20.          set("\x01",eval("\x01") + 377);
  21.       }
  22.       else if(eval("\x01") == 720)
  23.       {
  24.          set("\x01",eval("\x01") - 170);
  25.          ┬º┬ºpush(true);
  26.       }
  27.       else if(eval("\x01") == 510)
  28.       {
  29.          set("\x01",eval("\x01") - 293);
  30.          ┬º┬ºpush(true);
  31.       }
  32.       else
  33.       {
  34.          if(eval("\x01") == 301)
  35.          {
  36.             set("\x01",eval("\x01") + 209);
  37.             break;
  38.          }
  39.          if(eval("\x01") == 217)
  40.          {
  41.             set("\x01",eval("\x01") + 57);
  42.             if(┬º┬ºpop())
  43.             {
  44.                set("\x01",eval("\x01") + 271);
  45.             }
  46.          }
  47.          else
  48.          {
  49.             if(eval("\x01") == 274)
  50.             {
  51.                set("\x01",eval("\x01") + 271);
  52.                break;
  53.             }
  54.             if(eval("\x01") == 922)
  55.             {
  56.                set("\x01",eval("\x01") - 275);
  57.                if(_root["aso#37095"]["aso#16344"] > 0)
  58.                {
  59.                   return undefined;
  60.                }
  61.                with(_root["aso#58267"])
  62.                {
  63.                   _root["aso#58267"]["aso#78176"](29,24,0,64,16,8,15,10,18);
  64.                   _root["aso#58267"]["aso#09513"] = 50;
  65.                   _root["aso#03524"].gotoAndStop("mission5");
  66.                   _root["aso#58267"].mission = 5;
  67.                   _root["aso#58267"]["aso#98377"] = 2;
  68.                   _root["aso#58267"]["aso#03945"]();
  69.                   _root["aso#37095"]["aso#72187"]();
  70.                   _root["aso#58267"]["aso#84586"]();
  71.                }
  72.                break;
  73.             }
  74.             if(eval("\x01") == 647)
  75.             {
  76.                set("\x01",eval("\x01") - 647);
  77.                break;
  78.             }
  79.             if(eval("\x01") != 57)
  80.             {
  81.                if(eval("\x01") == 561)
  82.                {
  83.                   set("\x01",eval("\x01") + 159);
  84.                   prevFrame();
  85.                   break;
  86.                }
  87.                break;
  88.             }
  89.             set("\x01",eval("\x01") + 504);
  90.             if(┬º┬ºpop())
  91.             {
  92.                set("\x01",eval("\x01") + 159);
  93.             }
  94.          }
  95.       }
  96.    }
  97. }
  98.